<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../../common/taglibs.jsp"%>
<%@include file="../../common/_head.jsp"%>
<html>
<head>
</head>
<body>
<div class="layui-form" lay-filter="layuiadmin-form-role" id="layuiadmin-form-role" style="padding: 20px 30px 0 0;">
    <input style="display: none" name="id" id="id" value="">
    <div class="layui-form-item">
        <label class="layui-form-label">角色名称</label>
        <div class="layui-input-block">
            <input type="text" name="name" id="name" class="layui-input" lay-verify="required">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">角色描述</label>
        <div class="layui-input-block">
            <textarea type="text" name="desc" id="desc" lay-verify="required" autocomplete="off" class="layui-textarea"></textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">角色排序</label>
        <div class="layui-input-block">
            <input type="number" name="orderId" id="orderId" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-block">
            <input type="checkbox" name="status" id="status" lay-skin="switch" lay-text="启用|禁用" value="0">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">权限配置</label>
        <div class="layui-input-block">
            <div id="permissions" lay-verify="permission-verify">

            </div>
            <input style="display: none;" name="permissionIds" id="permissionIds">
        </div>
    </div>
    <div class="layui-form-item layui-hide">
        <button class="layui-btn" lay-submit="" lay-filter="role-submit" id="role-submit">提交</button>
    </div>
</div>

<script src="<%=path%>/js/systemmanage/role/edit.js?v=1.1.0"></script>
</body>
</html>
